package com.shop.service.impl;

import com.shop.mapper.AccountMapper;
import com.shop.pojo.Account;
import com.shop.service.AccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AccountServiceImpl implements AccountService {

    @Autowired
    AccountMapper mapper;

    @Override
    public int addAccount(Account account) {
        return mapper.addAccount(account);
    }
}
